namespace NEnsure
{
	public interface IBusinessRule
	{
		string RuleKey { get; }

		string ErrorFormat { get; set; }
	}

	public interface IBusinessRule<T> : IBusinessRule
	{
		bool IsBrokenBy(T value);
	}
}
